<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="../mytags.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<title>我的设备</title>
<script type="text/javascript" charset="utf-8">
	mui.init();
</script>
</head>
<body>
	<div class="fp_t">序列号：${equipment.sn }</div>
	<div class="eq1">
		<div class="inrr inrr1">
			<h4>
				<span>机型</span>${equipment.item }
			</h4>
			<h4>
				<span>保修截止日期</span>${repairEndDate}</h4>
			<h4>
				<span>上一次巡检日期</span>
                <c:if test="${lastYearInspectionDate }">
                    空
                </c:if>
                <c:if test="${lastYearInspectionDate }">
                    ${lastYearInspectionDate}
                </c:if>&nbsp;
            </h4>
			<h4>
				<span>上一次巡检评分</span>
                <c:if test="${lastEvaluate }">
                    空
                </c:if>
                <c:if test="${not empty lastEvaluate }">
                    ${lastEvaluate}
                </c:if>&nbsp;

			</h4>
			
			<h4 style="color: #0eb972;">
				<span>是否有本年度巡检计划</span>
				<c:if test="${equipment.isHadInspection eq '1' }">
					<span>是</span>
				</c:if>
			</h4>
		</div>
	</div>
	<div class="tix mui-clearfix">
		<img src="${webRoot }images/jg.png">本机型距离出保日期还有${ceil }天
	</div>
</body>
</html>